package com.alibaba.nacos.api.naming.remote.request;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Getter
@Setter
@NoArgsConstructor
public class SubscribeServiceRequest
        extends AbstractNamingRequest {

    private boolean subscribe;
    private String clusters;

    public SubscribeServiceRequest(String namespace,
                                   String groupName,
                                   String serviceName,
                                   String clusters,
                                   boolean subscribe) {
        super(namespace, groupName, serviceName);
        this.clusters = clusters;
        this.subscribe = subscribe;
    }
}
